﻿using HVACWebService.Business;

namespace HVACWebService.Controllers
{
    public class HavcDeviceController
    {
        [System.Web.Http.HttpGet]
        public byte[] SendToDevice(string openId, string sendData, string physicalDeviceId, string deviceId,
       string mesageCode)
        {
            //发送设备控制指令
            var ableDevice = new SendToDeivceService();
            return ableDevice.SendToDevice(openId, sendData, physicalDeviceId, deviceId, mesageCode);

        }
    }
}